//引入mysql
var mysql = require('mysql');
//配置mysql
var db = mysql.createConnection({
    host     : '106.75.52.79',
    user     : 'olderly',
    password : 'root',
    database : 'olderly',
    port:'3306',
    useConnectionPooling: true,
    // 用于时间格式转换  
    dateStrings:true
  });
// 导出 数据库db
module.exports=db;  



